package com.fastloan.safe.core.shiro;

import com.kawins.supers.redis.RedisAbstract;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * @author rankai
 *         createTime 2017-11-2017/11/9 17:19
 */
public class ShiroRedisClient extends RedisAbstract {

    private RedisTemplate<String, Object> redisTemplate;

    @Override
    public RedisTemplate<String, Object> buildRedisTemplate() {
        return redisTemplate;
    }

    public RedisTemplate<String, Object> getRedisTemplate() {
        return redisTemplate;
    }

    public void setRedisTemplate(RedisTemplate<String, Object> redisTemplate) {
        this.redisTemplate = redisTemplate;
    }
}
